//
//  FeaturedTableView.h
//  ZooNgonDoiOS
//
//  Created by Trung sound on 7/5/12.
//  Copyright (c) 2012 Personal. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RestKit/RestKit.h"
#import "ListItemTableViewCell.h"
#import "DetailViewController.h"
#import "ZooLocation.h"
#import "CoreLocation/CoreLocation.h"

@class DetailViewController;
//@class ZooSpotBean;

@interface FeaturedTableView : UITableView <UITableViewDelegate, UITableViewDataSource, RKRequestDelegate> {

    NSMutableArray *_arImage;
    NSMutableArray *_arName;
    NSMutableArray *_arAddress;
    NSMutableArray *_arDistance;
    
    DetailViewController *_vSpotDetailView;
    ZooLocation *_zooLocation;
    
    UIButton *_btnSearch;
    UIImageView *_vIconSearch;
    UILabel *_lbSearch;
    NSMutableArray *_arUrlImage;
    
    HJObjManager *objMan;
    
}

@property (nonatomic,strong) NSArray *arSpot;
@property (nonatomic, retain) id <SpotDetailDelegate> spotDetailDelegate;

- (id)initWithFrame:(CGRect)frame object:(NSMutableArray *) pArray locatin:(ZooLocation *)pLocation;
@end
